package performance;

import java.util.ArrayList;
import java.util.Collection;

public class RuntimeDataCollector extends DataCollector<Long> {
	private final Collection<Long> collector;
	
	
	@SuppressWarnings({"WeakerAccess"})
    protected RuntimeDataCollector() {
		collector = new ArrayList<Long>();
	}

	@Override
	public void collectData(Long dataResult) {
		collector.add(dataResult);
	}

	@Override
	public Collection<Long> getResults() {
		return collector;
	}

}
